const express = require('express');
const router = express.Router();
//处理函数
const {loginHandle,registerHandle} =require('./handler');

//登录
router.post('/login', loginHandle)

//注册
router.post('/register', registerHandle)

//导出
module.exports = router;
